﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.master" AutoEventWireup="true" CodeFile="TravelList.aspx.cs" Inherits="TravelList" %>

<%@ Register Src="~/BaseRight.ascx" TagPrefix="uc1" TagName="BaseRight" %>
<%@ Register Src="~/AdvButton.ascx" TagPrefix="uc1" TagName="AdvButton" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="home" Runat="Server">
    <div class="mark">
        <img src="images/home.png" /><span>您现在的位置：</span>
        <a href="Index.aspx">首页</a><font>></font><a href="#">旅行社</a>
        <div class="timeBox">今天是：<%= Sys.Common.StringHelper.TimeAndDayOfWeek() %></div>
    </div>
    <div class="main">
        <div class="leftBox">
            <div class="leftBoxTitle"><strong>旅行社列表</strong></div>
            <div class="leftBoxContent">
                <ul class="listPic5">
                    <asp:Repeater ID="rep_List" runat="server">
                        <ItemTemplate>
                            <li>
                                <a href="Travel.aspx?id=<%# Eval("ID") %>" class="img" target="_blank">
                                    <img src="userfiles/travel/default/<%# GetFront(Eval("ID").ToString()) %>"/>
                                </a>
                                <a href="Travel.aspx?id=<%# Eval("ID") %>" class="title" target="_blank"><%# Eval("Name") %></a>
                                <p>简介：<%# Sys.Common.StringHelper.CutString(Sys.Common.StringHelper.NoHTML(Eval("Content").ToString()),220) %></p>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>                 
                </ul>
                <Sys:Pager ID="Pager" runat="server" />
            </div>
        </div>
        <uc1:BaseRight runat="server" ID="BaseRight" />
    </div>
    <uc1:AdvButton runat="server" ID="AdvButton" />
</asp:Content>